home *** CD-ROM | disk | FTP | other *** search
- Now let's write another file to the drive (this is where the fun starts).
- Let's suppose the new file written to the drive is larger than the space
- left available by the deleted File "Y". No problem, your system will use
- as much of the space left open by "Y" before moving on to the next open
- sectors (beyond "Z"), and then procede to complete the write request.
- (Keep in mind the drive uses any freespace it can find along the way,
- even though it may not be contiguous). Now we have the new file written,
- (File "A"). Our disk map now looks like this:
-
- ┌──────────────────────────────────────────────────────────────────────────┐
- │XXXXXXXXXXXXXXXXXXXXXXXAAAAAAAAAAZZZZZZZZZZZZZZZZZZZZZZZZZZZZAAAAAAAAAAAAA│
- │AAAAAAAAAAA │
- │ │
- │ │
- │ │
- │ │
- └──────────────────────────────────────────────────────────────────────────┘
-
- Notice how File "A" is now stored in NON-CONTIGUOUS sectors. This is what is
- known as FRAGMENTATION. "Fine" you say?....."So what?"......
-
-
-